﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bootstrap.MVC.Utils;

namespace Bootstrap.MVC.Widgets
{
    public class DropDownItemFactory
    {
        private readonly IDropDownMenuModel model;

        public DropDownItemFactory(IDropDownMenuModel model)
        {
            Guard.IsNotNull(model, "model");

            this.model = model;

        }

        public DropDownItemBuilder Add()
        {
            return new DropDownItemBuilder(model, new DropDownItemModel());
        }

    }
}
